
#ifndef _PARTIDWIDGET_H__
#define _PARTIDWIDGET_H__

#include <QDialog>
#include <QTabWidget>
#include <QHeaderView>
#include <QVBoxLayout>
#include <QTableWidgetItem>
#include <QStandardItemModel>
#include <QComboBox>
#include <QListView>

#include "RobotBase.hpp"
#include "MotionAPI.hpp"


NAMESPACE_BEGIN(NSPartIdWidget)

class MOTIONAPI PartIdWidget : public QWidget {
	Q_OBJECT
	SIGNALDEC(PartIdWidget, QWidget)
public:

public Q_SLOTS:
	void addRobot2Widget(NSRobotBase::RobotBase* robotbase);

protected:
	void Initialize();
	void Finalize();

	QTableWidgetItem* Item(QString name);

protected:
	QTableWidget* part_map;

};

NAMESPACE_END

#endif // !_PARTIDWIDGET_H__



